package com.wgy.day17.继承性.抽象类和子类.demo02;

/**
 * Created by pc on 2020/11/12 21:20
 * Description: LearningJava
 */
public class Zi extends Fu {
    public Zi() {
        //没有调用父类构造方法就默认赠送 super()
        System.out.println("子类构造方法执行啦");
    }

    @Override
    public void eat() {
        System.out.println("吃饭饭");
    }
}
